codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple one


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 <scott@xxxxxxxxxxx> 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  }"
> 
> 
>