RE: [EXTERNAL] Binding inside the html property has stopped working

2023-02-14 Thread Maria Jose Esteve
Hi Josh, yes, I thought so. I will do what Brian recommended.

Thx.

Hiedra

-Mensaje original-
De: Josh Tynjala  
Enviado el: martes, 14 de febrero de 2023 19:38
Para: dev@royale.apache.org
Asunto: Re: [EXTERNAL] Binding inside the html property has stopped working

My change actually fixed a bug in the Royale compiler. Binding with {} is not 
supposed to work inside CData. This change brings the Royale compiler closer to 
the behavior of the Flex compiler.

So you'll need to change your code.
--
Josh Tynjala
Bowler Hat LLC 


On Mon, Feb 13, 2023 at 11:53 AM Maria Jose Esteve 
wrote:

> Hi Brian, thanks for replying.
> Yes, they did work and I really liked it 
> If Josh said he can't make it compatible, I would do it as you tell me 
> with the html attribute directly.
>
> Thx.
> Hiedra
>
> -Mensaje original-
> De: Brian Raymes  Enviado el: lunes, 13 de 
> febrero de 2023 20:19
> Para: dev@royale.apache.org
> Asunto: RE: [EXTERNAL] Binding inside the html property has stopped 
> working
>
> I don't believe bindings work within CDATA blocks?
>
> This should work:
>
>  html="{reg.nombre}br{reg.apellido1}br{reg.apellido2}"/
> >
>
>
> Brian
>
> -Original Message-
> From: Maria Jose Esteve 
> Sent: Monday, February 13, 2023 10:33 AM
> To: dev@royale.apache.org
> Subject: [EXTERNAL] 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:
> 
>
> 
> 
>
> Or
> 
>
> 
> 
> 
>
> [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 joshtynj...@apache.org> d50913c14b5b998a82a14e6c14592ad24995e3e2
> 07/12/2022 23:18:34
> MXMLDataBindingParser: use constant instead of literal Josh Tynjala 
> 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 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 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
>
>


Re: [EXTERNAL] Binding inside the html property has stopped working

2023-02-14 Thread Josh Tynjala
My change actually fixed a bug in the Royale compiler. Binding with {} is
not supposed to work inside CData. This change brings the Royale compiler
closer to the behavior of the Flex compiler.

So you'll need to change your code.
--
Josh Tynjala
Bowler Hat LLC 


On Mon, Feb 13, 2023 at 11:53 AM Maria Jose Esteve 
wrote:

> Hi Brian, thanks for replying.
> Yes, they did work and I really liked it 
> If Josh said he can't make it compatible, I would do it as you tell me
> with the html attribute directly.
>
> Thx.
> Hiedra
>
> -Mensaje original-
> De: Brian Raymes 
> Enviado el: lunes, 13 de febrero de 2023 20:19
> Para: dev@royale.apache.org
> Asunto: RE: [EXTERNAL] Binding inside the html property has stopped working
>
> I don't believe bindings work within CDATA blocks?
>
> This should work:
>
>  html="{reg.nombre}br{reg.apellido1}br{reg.apellido2}"/>
>
>
> Brian
>
> -Original Message-
> From: Maria Jose Esteve 
> Sent: Monday, February 13, 2023 10:33 AM
> To: dev@royale.apache.org
> Subject: [EXTERNAL] 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:
> 
>
> 
> 
>
> Or
> 
>
> 
> 
>
> [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 joshtynj...@apache.org> d50913c14b5b998a82a14e6c14592ad24995e3e2
> 07/12/2022 23:18:34
> MXMLDataBindingParser: use constant instead of literal Josh Tynjala
> 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 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 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
>
>