In the database (table "project") I only have an integer attribute ("Inactive"). How can I use this attribute as a data source for my checkbox and also convert and write it back as an integer?
Currently I use this for my value property: ${project.Inactive == 1} what shows the correct value.
But I get an error inside the CheckBox component, saying: "The type or namespace name 'EditProjectComponent' could not be found (are you missing a using directive or an assembly revernece?)
So I guess I have to implement a conversion on the change event to get the "Checked" parameter of the checkbox back into the database. What type do I need (Invoke data source method? and what are the parameters.
Thank you for the quick response about the link about how to extend my model. I read it carefully. The concept will come in handy one time, for sure. I will consider that way, when I need additional business logic to create a boolean out of a more complex value (my integer is only just 0 or 1 or NULL).
I found a way that works on the "UI" side, please let me know, if you consider this bad practice.