-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
None
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.3 S3
-
None
In LabelLoaderImpl.expendValue()
If the value is the full name of another label entry, the correct value is returned.
If the value is the full name of another label followed by ".$" (to access the name, and not the map after parsing), the value is not ound in labels, and the result is an expression, not a value.
Reproduce with:
my.app.a= test my.app.a.child = test2 my.app.b= ${my.app.a.$} my.app.c= ${my.app.a}
<zk> <vlayout> <button label="${labels.my.app.a.$}"/> <button label="${labels.my.app.b}"/> <button label="${labels.my.app.c}"/> </vlayout> </zk>
put a breakpoint in LabelLoaderImpl.expendValue line 331, and compare the returned values / expressions for b and c
my.app.b > "${my.app.a.$}"
my.app.c > "test"
- relates to
-
ZK-3258 Internationalization label with complex value causes org.zkoss.lang.PotentialDeadLockException
- Closed
-
ZK-3219 Recursive internationalization labels causes PotentialDeadLockException
- Closed
-
ZK-3251 Internationalization label with multi line value causes org.zkoss.lang.PotentialDeadLockException
- Closed