-
mrluigi2017 started the topic TkbmMWI18NLanguage language name property in the forum kbmMW 4 years, 1 month ago
Hi,
I am writing a small application that reads translations from a database and converts it to a i18n yaml file, this works fine except that I didn’t figure out a way to set the TkbmMWI18NLanguage name property since it’s read only. For now I have just modified the TkbmMWI18N source and added a write to the name property and this works fine. I a…[Read more]
-
mrluigi2017 started the topic i18n using a phrase as a property value in the forum kbmMW 4 years, 1 month ago
Hi,
I wondered if it’s possible to use a phrase as a value for a property:
phrases :
“sCancel”: “Some cancel button”properties :
Form1.btnCancel.Caption: sCancel
Form1.btnCancel2.Caption:sCancelThanks in advance!
Kind regards,
Luigi
-
mrluigi2017 started the topic I18n and learning properties in the forum kbmMW 4 years, 1 month ago
Hi (Kim),
I have tried to enable learning properties the following way:
i18n.LearnProperties := True;
i18n.Load(”, ‘test.yaml’);
But for some reason the properties are not written to file. I have also switched the order of the lines above but that didn’t do the trick. I also toggled between saving and merging but this didn’t solve it either. If…[Read more] -
mrluigi2017 commented on the post, God Jul 2021 – Merry Christmas 2021 4 years, 10 months ago
Fijne kerstdagen!
-
mrluigi2017 replied to the topic MySQL ORM problems in the forum kbmMW 5 years, 7 months ago
Hi Charles,
Some things you might want to check:
1) Do you have a MetaData component attached to the kbmMWMySQLRewriter?
2) Do you have a kbmMWMySQLRewriter attached to the kbmMWFiredacConnectionPool?
3) Does the table name in your entity match the table name in MySQL [kbmMW_Table(‘name:person’)]
4) Make sure that the meta data component…[Read more] -
mrluigi2017 replied to the topic Default URL in rest service in the forum kbmMW 5 years, 8 months ago
<span lang=”da”>Du er fantastisk</span> 🙂
-
mrluigi2017 replied to the topic ORM Standalone Demo project doesn't compile in 5.12.10 and Delphi XE5 in the forum kbmMW 5 years, 9 months ago
Hi Vadimir,
If I remember it well there where some serious issues in XE5 with generics which are heavily used in the ORM framework. I think you need XE7 or up.
-
mrluigi2017 started the topic Default URL in rest service in the forum kbmMW 5 years, 9 months ago
Hi,
Is it posible to declare a rest method as a default/catch all? Something like this:
[kbmMW_Rest(‘method:get, path:*’)] // Will be called if the path doesn’t match any path defined in the service.
Thanks in advance!
Kind regard,
Luigi
-
mrluigi2017 replied to the topic REST SmartService method in the forum kbmMW 5 years, 9 months ago
Never mind I found the solution.
var
qv: TkbmMWHTTPQueryValues; // kbmMWHTTPUtils
hlp: TkbmMWHTTPTransportStreamHelper;
s: string;
begin
qv := TkbmMWHTTPQueryValues.Create;
try
hlp := TkbmMWHTTPTransportStreamHelper(RequestTransportStream.Helper);
qv.AsString := hlp.Query; // Contains the part after the ?
s :=…[Read more] -
mrluigi2017 replied to the topic $ char in REST method path in the forum kbmMW 5 years, 9 months ago
Never mind I found the solution.
var
qv: TkbmMWHTTPQueryValues; // kbmMWHTTPUtils
hlp: TkbmMWHTTPTransportStreamHelper;
s: string;
begin
qv := TkbmMWHTTPQueryValues.Create;
try
hlp := TkbmMWHTTPTransportStreamHelper(RequestTransportStream.Helper);
qv.AsString := hlp.Query; // Contains the part after the ?
s :=…[Read more] -
mrluigi2017 started the topic REST SmartService method in the forum kbmMW 5 years, 9 months ago
Hi Kim,
In the blog article “REST easy with kbmMW #15 – Handling HTTP POST” you describe in example 2 howto obtain url parameters. In the example the number of url parameters are fixed but in my situation the number of parameters may vary. Is there a way to obtain all url parameters as one string? I am looking something similair as in the http s…[Read more]
-
mrluigi2017 started the topic $ char in REST method path in the forum kbmMW 5 years, 10 months ago
Hi Kim,
For my OData/Rest server I need to use $ character in the path attribute, but this doesn’t seem to work (service not available). I noticed that the path matching is done with regex and since the $ char has a specific meaning something might go wrong… Could you look into this?
Thanks in advance!
Luigi
-
mrluigi2017 started the topic Kbmmw_Element  and unnecessary elements in the forum kbmMW 6 years, 1 month ago
Hi,
I implementing a REST client for an existing REST API which I don’t control. The thing is that the JSON for the REST API uses unnecessary elements for instance:
{Â “FiEntryPar”: {Â Â Â “Element”: {Â Â Â Â Â “Fields”: {Â Â Â Â Â Â Â “Year”: 2025Â Â Â Â Â }Â Â Â }Â }}
My Delphi Objects follow the same structure and that is a bit confusing in my opinion. I…[Read more]
-
mrluigi2017 replied to the topic Log to database ORM DBISAM 4 error in the forum kbmMW 6 years, 1 month ago
Could you log the SQL statement? I use Devart and they have a monitor tools which shows you all the SQL which is sent to the user. If not you could maybe use the kbmmw log function:
kbmMWDebugLevel := mwdlAll;
kbmMWDebugWhere := mwddDebug;
kbmMWDebugTypes := [mwdtDBQuery];It logs to the IDE messages window.
-
mrluigi2017 commented on the post, kbmFMXKeyboard – Teaser 6 years, 1 month ago
Look great!
-
mrluigi2017 started the topic FromDataSet current record in the forum kbmMW 6 years, 1 month ago
Hi,
Is there an easy way to just use the current record in the FromDataSet method?
Thanks in advance!
-
mrluigi2017 replied to the topic ToDataSet in trial method in the forum kbmMW 6 years, 2 months ago
Just forgot to add kbmmwOrm to the uses 🙂 The errr I got was “Class is missing kbmMW_table or virtual table attribute”.
-
mrluigi2017 started the topic ToDataSet in trial method in the forum kbmMW 6 years, 2 months ago
Hi Kim,
I am currently evaluating kbmmw for my employer so I use the trial/CE version. Is it correct that the ToDataSet method doesn’t work in the trial/CE version?(would make sense to disable it)
Kind regards,
Luigi
-
mrluigi2017 replied to the topic Problem compiling kbmMW Pro 5.12.12 in the forum kbmMW 6 years, 2 months ago
I am using enterprise 5.12.00 and both units are present. I think something went wrong with the setup.
-
mrluigi2017 started the topic Nested dataset in the forum kbmMemTable 6 years, 3 months ago
Hi Kim,
How can I use nested dataset with the memtable? I have created to kbbMemTables “main” and “nested. The main table has a field of type dataset, but I don’t know how to glue the two together? A default TClientDataset has a dataset field property, but I don’t see a kbm equivalent ?
Tak på forhånd
Kind regards,
Luigi
<div c…[Read more] - Load More
