/[Apache-SVN]
ViewVC logotype

Revision 1428650


Jump to revision: Previous Next
Author: rwhitcomb
Date: Thu Jan 3 22:37:19 2013 UTC (11 years, 3 months ago)
Changed paths: 2
Log Message:
PIVOT-887: Make changes to Spinner and BXMLSerializer such that using the DefaultProperty of Spinner (which is "spinnerData") in a BXML file will work correctly.

Normally if the original value is a Sequence (as it always will be for the spinner data) the child is added to the sequence.  But using an ImmutableList enables BXMLSerializer to catch the UnsupportedOperationException and do a beanAdapter.put instead (which results in a call to "setSpinnerData"), which is the correct thing to do.

Changed paths

Path Details
Directorypivot/trunk/core/src/org/apache/pivot/beans/BXMLSerializer.java modified , text changed
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26