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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 100,097
» Latest member: vakamalan1975
» Forum threads: 2,426
» Forum posts: 11,373

Full Statistics

Online Users
There are currently 768 online users.
» 0 Member(s) | 765 Guest(s)
Applebot, Bing, Google

Latest Threads
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 413
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 465
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 343
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 697
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 406
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 888
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 367
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,617
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 537
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,285

 
  java script errors
Posted by: joel - 08-30-2020, 02:04 AM - Forum: IntraWeb General Discussion - Replies (3)

Environment.  Iw15.2.15, cgdevtools. 4.1.0.257

I have upgraded to iw15.2.15 and the access violations have disappeared; however, I am still having some issues with the pages locking up because of Javascript errors.    I tried setting RednderAsyncEnabled := False, but that did not make any difference.

Here are the errors

1.

(index):102 Uncaught TypeError: Cannot read property 'selection' of undefined
    at HTMLDocument.<anonymous> ((index):102)
    at i (IWLib__1837908247.js:2)
    at Object.fireWith [as resolveWith] (IWLib__1837908247.js:2)
    at Function.ready (IWLib__1837908247.js:2)
    at HTMLDocument.K (IWLib__1837908247.js:2)

2.

IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
executeAjaxEvent @ IWBase__870463085.js:6
(anonymous) @ (index):59
dispatch @ IWLib__1837908247.js:3
r.handle @ IWLib__1837908247.js:3


The 2nd error "the send request error" is triggered when I click the cgdevtools button.

(08-30-2020, 02:04 AM)joel Wrote: Environment.  Iw15.2.15, cgdevtools. 4.1.0.257

I have upgraded to iw15.2.15 and the access violations have disappeared; however, I am still having some issues with the pages locking up because of Javascript errors.    I tried setting RednderAsyncEnabled := False, but that did not make any difference.

Here are the errors

1.

(index):102 Uncaught TypeError: Cannot read property 'selection' of undefined
    at HTMLDocument.<anonymous> ((index):102)
    at i (IWLib__1837908247.js:2)
    at Object.fireWith [as resolveWith] (IWLib__1837908247.js:2)
    at Function.ready (IWLib__1837908247.js:2)
    at HTMLDocument.K (IWLib__1837908247.js:2)

2.

IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
executeAjaxEvent @ IWBase__870463085.js:6
(anonymous) @ (index):59
dispatch @ IWLib__1837908247.js:3
r.handle @ IWLib__1837908247.js:3

The 2nd error "the send request error" is triggered when I click the cgdevtools button.

I did change out the button to just an IWButton and when I tried that I get the following error.

IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
(anonymous) @ IWBase__870463085.js:6
setTimeout (async)
executeAjaxEvent @ IWBase__870463085.js:6
processAjaxEvent @ IWBase__870463085.js:6
IWCL_DoOnClick @ IWBase__870463085.js:5
IWEventHandler @ IWBase__870463085.js:4

Print this item

Lightbulb Support Firemonkey Form or not ?
Posted by: Kristy - 08-29-2020, 02:43 AM - Forum: IntraWeb General Discussion - Replies (2)

I trying to build standalone application with Firemonkey form for controller in Linux.
The aim is saving the cost of OS and still having monitoring function for technician.
Is it possible? Have demo on it?
Thanks!

Print this item

  Need to add lang attribute
Posted by: Steadfast - 08-28-2020, 08:55 PM - Forum: IntraWeb General Discussion - Replies (7)

I am running IntraWeb 14.1.13 and I am trying to add the lang attribute to the html element like <html lang="en">
How could I go about doing that?  TIA!

Print this item

  IWFileUploader::SelectFile()
Posted by: JuergenS - 08-28-2020, 01:30 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

C++ Builder 10.4

My IntraWeb Application (Indy - x86)
Build Date: Aug 04, 2020
IntraWeb Version: 15.2.11
32-bit Server on 64-bit Windows
HTTP Server is active on port: 80

IWFileUploader::SelectFile()  doesn't show a selection dialog in the new Firefox for Android (79.0.5) anymore.

Firefox (80.0), Edge (84.0.522.63), Chrome (84.0.4147) and others are OK.

Regards
JuergenS


Huh

Print this item

  Bug in TIdAttachment::FileName ?
Posted by: Asger-P - 08-27-2020, 05:06 PM - Forum: Indy - Replies (4)

Hi

I think I found a small bug in the TIdAttachment::FileName 

I have received a mail with an attachment that have a very stupid filename:
Fakturanr. 119180921 fra Lemvigh-Müller A/S.pdf

Indy only gives med the S.pdf part, the rest is discarded.

I know that the /  isn't allowed in a filename on windows and it was ok if indy replaced it, but it should not discard everything in front of it.

I know the real filename because Thunderbird shows all of it, and when I want to save it replaces the / with -.

Can I do anything to get the full filename ??

Thanks in advance
Best regards
Asger

The code I use is this:

Code:
bool pdfMail::getPdfAttachments(TIdMessageParts *parts, TMailContent* MailContent )
{
  parts->CountParts();
  if( parts->AttachmentCount < 1 )return false;

  int C = parts->Count;
  for( int i = 0; i < C; ++i )
  {
      TIdAttachment *atcm = dynamic_cast<TIdAttachment*>( parts->Items[i] );

      if( atcm && attachmentsIsPdf( atcm->FileName ) )// checks if the extension is pdf
      {
        MailContent->Attachments.Add( atcm );
      }
  }

  return MailContent->Attachments.Count() > 0;
}

Print this item

Brick Templates + AJAX Componets
Posted by: cirojas - 08-27-2020, 02:14 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi everyone,

I'm using Intraweb 14.2.7 with templates html but when I try to use an AJAX component like IWUploaderFile the  form with this component looks like loading all the time and it blocks the others controls in the page. can you help me with this?

Thanks,

Print this item

  TIWEdit - RegionalSettings are ignored
Posted by: Lorbass - 08-26-2020, 08:04 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

RegionalSettings for edit-control is a good idea.

Setting in IWServerControllerBaseConfig and/or in IWServerControllerBaseNewSession works fine because IWEdit.RegionalSettings returns the correct values.

Properties of IWEdit are defined as

- DataType = stNumber
- DataTypeOptions.NumberType = ntFloat
- DataTypeOptions.NumberValidation = nvIntraWeb
- DataTypeOptions.FloatDP = 2


BUT while editing IWEdit only dot is accepted when DecimalSeparator is defined as comma. If DecimalSeparator is defined as dot neither dot nor comma are accepted.

Something wrong on my side or a bug?!

Thanks in advance for a solution!

Print this item

  Access Violation in IW 15.2.15
Posted by: softdev85 - 08-26-2020, 07:05 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello,
i 'am very sorry to say that but, there are the same problem
with IW 15.2.15.

Access violation in bpl
impossible to laod some form in ide

I don't use any library,
work well sinc Intraweb 15.2.12

reverting to iw 15.2.12

Thank's for your good work
best regards


(08-26-2020, 07:05 AM)softdev85 Wrote: Hello,
i 'am very sorry to say that but, there are the same problem
with IW 15.2.15.

Access violation in bpl
impossible to laod some form in ide

I don't use any library,
work well sinc Intraweb 15.2.12

reverting to iw 15.2.12

Thank's for your good work
best regards



Attached Files Thumbnail(s)
       
Print this item

  CSS for IWTabControl
Posted by: valmeras - 08-25-2020, 04:02 PM - Forum: IntraWeb General Discussion - No Replies

I am using Intraweb 14.2.7 with Rad Studio 10.2.3 (C++ Builder)
I would like to know if it is possible to add css for a TIWTabControl ?
Because I don't see the option in the object inspector.

Print this item

  Access violation iw 15.2.14
Posted by: softdev85 - 08-25-2020, 07:55 AM - Forum: IntraWeb General Discussion - Replies (4)

Hello,
there are access violation, in IW 15.2.14, in adress 0000 in bds, and iw.....Bpl
with delphi 10.3.3.3

impossible to access to code on some form,
the error message indicate, there are some procedure not present,
or property not present, do you want i remove them ?
the compilation is ok,
but impossible to access in ide a some form
is not for all form, just somes ones

no problem with 15.2.13
no problem with 15.2.12

best regard

Print this item