Sorry, I didn't say that the modifications were in royale-compiler.
Hiedra

-----Mensaje original-----
De: Maria Jose Esteve <mjest...@iest.com> 
Enviado el: lunes, 13 de febrero de 2023 19:33
Para: dev@royale.apache.org
Asunto: Binding inside the html property has stopped working

Greetings to all,
After a couple of months of unemployment, I have been able to resume the Royale 
project and I have encountered a problem in my itemRenderers: The bindings 
included in the html property of a Label control are displayed as is, not 
replaced by the expected binded value. [1]

The code:
<j:Label multiline="true" width="150">
      
<j:html><![CDATA[{General.nz(reg.nombre,'')}<br>{General.nz(reg.apellido1,'')}<br>{General.nz(reg.apellido2,'')}]]></j:html>
</j:Label>

Or
<j:Label multiline="true" width="150">
      
<j:html><![CDATA[{reg.nombre}<br>{reg.apellido1}<br>{reg.apellido2}]]></j:html>
</j:Label>

[1] 
https://drive.google.com/file/d/1WNm_hi2HtU71JaVWGNQgbtr4ukSsbulD/view?usp=share_link

I have identified the source of the problem in Josh's December 7, 2022 commits:

MXMLTreeBuilder: fix CData handling with [CollapseWhiteSpace] metadata (closes 
#213) Josh Tynjala joshtynj...@apache.org<mailto:joshtynj...@apache.org> 
d50913c14b5b998a82a14e6c14592ad24995e3e2 07/12/2022 23:18:34
MXMLDataBindingParser: use constant instead of literal Josh Tynjala 
joshtynj...@apache.org<mailto:joshtynj...@apache.org> 
1c3acfe9767359e35fd6fe0607d22be0946243db 07/12/2022 21:39:55
MXMLDataBindingParser: fix data binding being incorrectly detected inside CData 
text (references #213) Josh Tynjala 
joshtynj...@apache.org<mailto:joshtynj...@apache.org> 
e570d87f621837b2dc9e6eafa4de9a79f89600fb 07/12/2022 19:00:22
MXMLRoyaleEmitter: remove dead code that was causing a null exception (closes 
#216) Josh Tynjala joshtynj...@apache.org<mailto:joshtynj...@apache.org> 
053ea997fcaa1d15b2b3efe77de7ffc10bdb13b5 07/12/2022 18:05:55

@Josh, can this be fixed or do I have to implement it some other way?
Thx.
Hiedra

Reply via email to