Code AS et propriété selectedchild pour un viewstack en MXML
Bonjour,
Voici mon code :
Code:
1 2 3
|
<mx:ViewStack id="TabCompo"
selectedChild="{((ActionCoupureList.selectedItem != null) && (ActionCoupureList.selectedItem.indif != null))?indifStack:coupRelStack}"> |
Il me met comme erreur :
Citation:
The entity name must immediately follow the '&' in the entity reference.
Pourquoi ne peut-on pas faire ça ?
Par contre si j'écris :
Code:
1 2 3
|
<mx:ViewStack id="TabCompo"
selectedChildActionCoupureList.selectedItem.indif != null?indifStack:coupRelStack}"> |
Cela fonctionne très bien.
Une idée ?