Hi - I was working through this tutorial on data binding but the code won't
compile due to a data type conflict

http://www.artima.com/articles/two_way_binding.html

The 2-way binding on the text field throws the error since it is trying to
bind the text property (String) to a value of Number (the
'converter.fahrenheit' property).

<s:TextInput text="@{converter.fahrenheit}"/>

Is the tutorial wrong or missing some code? I've tried casting it as a
String or converting but doesn't work (logically - since it's 2-way).

--Roy

-- 
-----------------------------------------------------------------
http://www.roypardi.com/



Reply via email to