You should use EL expression (including calls of tag library's methods) inside parentheses of annotation and should not enclose it with curly braces:
<window title="@load(c:l(vm.name))">
See EL Expression in Data Binding for more details.
Pregunta
Using ZK 6 I want to do something like this:
<window title="${c:l(@load(vm.name))}">
My goal is to get a label (localization) based on a key that is loaded from my ViewModel and not a static String and this is the problem.
The example given doesn't work because the syntax is invalid but I think you can understand my idea. How to do this in a clean way?
Solución
You should use EL expression (including calls of tag library's methods) inside parentheses of annotation and should not enclose it with curly braces:
<window title="@load(c:l(vm.name))">
See EL Expression in Data Binding for more details.