You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Chris Bartlett <cb...@googlemail.com> on 2010/06/19 19:24:51 UTC
StockTracker tutorial TextBindMappings
It appears to my untrained eye that the TextBindMappings for the changeLabel
& lowValueLabel have been switched.
<Label wtkx:id="changeLabel" Form.label="%change" textKey="change"
textBindMapping="$valueMapping" styles="{horizontalAlignment:'right'}"/>
<Label wtkx:id="lowValueLabel" Form.label="%lowValue" textKey="lowValue"
textBindMapping="$changeMapping" styles="{horizontalAlignment:'right'}"/>
http://pivot.apache.org/tutorials/stock-tracker.data-binding.html
/pivot-trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/detail_pane.bxml
Chris
Re: StockTracker tutorial TextBindMappings
Posted by Greg Brown <gk...@mac.com>.
Good catch, thanks. This is fixed.
On Jun 19, 2010, at 1:24 PM, Chris Bartlett wrote:
> It appears to my untrained eye that the TextBindMappings for the changeLabel & lowValueLabel have been switched.
>
> <Label wtkx:id="changeLabel" Form.label="%change" textKey="change" textBindMapping="$valueMapping" styles="{horizontalAlignment:'right'}"/>
> <Label wtkx:id="lowValueLabel" Form.label="%lowValue" textKey="lowValue" textBindMapping="$changeMapping" styles="{horizontalAlignment:'right'}"/>
>
> http://pivot.apache.org/tutorials/stock-tracker.data-binding.html
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/detail_pane.bxml
>
> Chris