Databind labels in ViewModels
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
Line 15: Line 15:
[[File:2022-03-18 16h41 21.gif|none|thumb|1520x1520px]]
[[File:2022-03-18 16h41 21.gif|none|thumb|1520x1520px]]
[[Category:View Model]]
[[Category:View Model]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Revision as of 05:48, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2022-03-18. Last edited by Stephanie@mdriven.net on 2025-01-28.

Labels are normally static presentation texts. These texts can be translated by following the strategy described here.

From time to time, however, you may want to use data instead of static texts.

Column Headers in Grids

Expression for Labels - if Grid - are found on the level of Grid root column taking the name of "GridRootColumnName"_"GridColumnName"_Label

Labels for Widgets and Buttons

Expression for Labels on simple widgets are found on the same level, taking the name of "ColumnName"_Label

x

And for MVC and AngularJS:

2022-03-18 16h41 21.gif