Good afternoon, creating a simple Indy application working with Delphi 11.1 and IW15.2.51 I have noticed some problems with the components IWCheckBox, IWDBCheckBox, IWRadioButton and IWRadioGroup
For IWCheckBox and IWDBCheckBox
---------------------------------------
1.- The OnAsyncClick event is executed 2 times when we make a single click in the LABEL element of the component. It behaves normally when we make a single click on the INPUT element of the component.
2.- The OnAsyncEnter event does not work.
3.- The OnAsyncExit event does not work.
4.- The OnChange event behaves as an asynchronous event.
5.- The OnClick event does not change the state of the checkbox when we click on the LABEL element of the component. It behaves normally when we click on the INPUT element of the component.
For IWRadioButton
---------------------------------------------
1.- The OnAsyncChange event only works when the component is initially in UnChecked state and we click on it, it does not work if its state is changed asynchronously from another component, for example from a button, or when clicking on another IWRadioButton.
2.- The OnAsyncEnter event does not work.
3.- The OnAsyncExit event does not work.
4.- The OnClick event only works if we click on the INPUT element of the component. If we click on the LABEL element of the component, it changes its state (as if it were an asynchronous event) but the OnClick event is not executed.
For IWRadioGroup
------------------------------------------
1.-The OnAsyncChange event is only executed if we click on any of the items of the component. If we change the itemIndex from another component asynchronously, for example from a button, the index changes but the OnAsyncChange event is not triggered.
The OnClick event behaves as an asynchronous event if we click on the LABEL element of the component. It behaves normally if we click on the INPUT element of the component.
Please if someone could confirm this for an eventual correction I would be grateful.
Hi all,
I'm trying to find a way to prevent XSS, for example if an user try to write some script in URL of the application.
There is a way to sanitize the input of the value of parameter, removing special characters like ', <, >, ( etc?
For example typing the URL followed by a code (http://127.0.0.1:88/$/StartCheck?<svg/onload=alert(1)>) someone can redirect or execute script in our application.
I'm using 14.2.12 Intraweb version and I tryied to do it in many ways but noone works.
Thanks in advance!
Sorry for posting this here as I can't post on IW17 forums. The last update I see was from 2021. Is IW17 still active? if yes, what is the current ETA?
In TIWFileUploader, is there any way I can read the file created date and file modified date after selection or successful upload of the file. Or is there a way to create the uploaded file with the same dates of the file that was selected for upload?
When using the "IWDBAdvWebGrid" component and setting "MouseSelect = msMove", so that the dataset is repositioned to the matching grid row,...
one of my columns suddenly loses the values from the database and shows the first value from the list instead. I should also point out that the '1st' row in the grid is always colored grey, whether it's selected or not ( regardless of whatever row i click on. another issue ).
That specific column settings are:
ColumnType = ctDynCombo
ComboItems = User, Manager (stored in one value per line)
ComboBalues = U, M (stored in one value per line)
Editor = edCombo
DataSource = qUsers ( MySQLDac query component used for all columns in this grid. )
All other columns work fine, it just appears to be the ctDynCombo that has the issue.
When I click a row or cell, the "MouseMove.mtMove" setting takes affect and then ALL rows with the ctDynCombo suddenly have the same value.
I've spent 2 days on this, and am completely stumped. I've even seen this behavior using your demo apps and using the ctMove setting - so I know it's not my code or project that is at fault - and I seriously need ctMove feature to work correctly.
I have created some TIWButtons that also demonstrate something interesting. ( Add, Edit, Delete, Save, Cancel ).
1. I click on any row and the column's combobox suddenly loses it's original display values and all become the same.
2. This combo values remain the same no matter what other columns or rows I click on.
3. I click my own TIWButton that calls "dataset.Edit" and the selected row goes into edit mode AND all original combo box values are restored.
4. I click 'save' or 'cancel' and the values are fine.
5. I click onto a different row and the combo values in that column are lost again.
I am on Delphi 10.4 and the latest IW 15.2.50.
Please advise. I'm seriously out of ideas on how to make this work, and as I said, I can get it to break on your demos as well by choosing the "MouseMove = msMove" property.
I have a valid subscription for IW Ultimate. When I look for the latest source code, ther last zip file version available is 15.2.27. There is no source code for lastest 15.2.50?
Delphi 11.1 (was working with 11.0)
15.2.50
Build or Compile fail:
A) App1:
"[dcc64 Fatal Error] ServerController.pas(44): F2051 Unit IWInit was compiled with a different version of IWGlobal.gServerControllerClass'"
B) App2:
"[dcc64 Fatal Error] IWMain.pas(8): F2051 Unit IWStandAloneServer was compiled with a different version of IWURL.TURL"