You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by scott matheson <sc...@matheson.it> on 2018/12/14 20:10:25 UTC
simple one
Hi, not been writing code for a while, how do I add && in a dynamic binding
this is the code
<s:CheckBox id="overlapCheckBox"
scaleX="1" scaleY="1"
selected="{data.overlapReading}"
horizontalCenter="0"
verticalCenter="0"
visible="{data.accountType != 1 }"
click="changePlacement(event)"
skinClass="com.peach.uofs.common.StudentPlacementCheckBoxSkin"/>
i want visible="{data.accountType != 1 && data.aPage }"
Re: simple one
Posted by "Willem-Paul Stuurman - RecruitmentTechnologies.com" <w....@recruitmenttechnologies.com>.
Hi Scott, just escape any & into &
The binding is basically an XML attribute and & is not allowed in there.
Cheers,
WP
> On 14 Dec 2018, at 21:10, scott matheson <sc...@matheson.it> wrote:
>
> Hi, not been writing code for a while, how do I add && in a dynamic binding
>
> this is the code
>
> <s:CheckBox id="overlapCheckBox"
> scaleX="1" scaleY="1"
> selected="{data.overlapReading}"
> horizontalCenter="0"
> verticalCenter="0"
> visible="{data.accountType != 1 }"
> click="changePlacement(event)"
> skinClass="com.peach.uofs.common.StudentPlacementCheckBoxSkin"/>
>
>
> i want visible="{data.accountType != 1 && data.aPage }"
>
>
>
Re: simple one
Posted by hbchugo <hb...@gmail.com>.
is true:
backgroundColor="{data.estado==0 && 1==1? 0x4776C5:0x855811}"
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Re: simple one
Posted by scott matheson <sc...@matheson.it>.
Thats is thanks
> On 14 Dec 2018, at 20:43, kamcknig <ka...@gmail.com> wrote:
>
> You can use encoded ampersands like this:
>
> visible="{data.accountType != 1 && data.aPage }"
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Re: simple one
Posted by kamcknig <ka...@gmail.com>.
You can use encoded ampersands like this:
visible="{data.accountType != 1 && data.aPage }"
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/