How do I fix this warning in my mx:request tag?
Posted
by invertedSpear
on Stack Overflow
See other posts from Stack Overflow
or by invertedSpear
Published on 2010-03-08T18:11:35Z
Indexed on
2010/03/08
18:21 UTC
Read the original article
Hit count: 181
I'm running an HTTPService with the following request:
<mx:request xmlns="">
<view>{myViewStack.selectedChild.name}</view>
</mx:request>
The idea being to pass which child is selected on the viewstack to the php page, and then get that back so I can run some logic based on which child of the viewstack was selected at the time.
Everything seems to work, but I get the following warning:
Data binding will not be able to detect assignments to "name".
This doesn't seem to be causing any trouble, but I know warnings usually mean that I am not following the best practice. How can I fix this? I don't really need this item to be bound, because the name will never change at runtime, but I don't know how else to include it in the request.
© Stack Overflow or respective owner