You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2013/01/02 22:28:13 UTC

[jira] [Commented] (PIVOT-887) Tutorial example code for NumericSpinnerData doesn't work as shown

    [ https://issues.apache.org/jira/browse/PIVOT-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542429#comment-13542429 ] 

Roger Whitcomb commented on PIVOT-887:
--------------------------------------

Update the source for the tutorial:

[trunk]:
Sending        tutorials\www\spinners.xml
Transmitting file data .
Committed revision 1428056.

[branches/2.0.x]:
Sending        .
Sending        tutorials\www\spinners.xml
Transmitting file data .
Committed revision 1428058.

Still want to think about these possibilities to make this better:
a) Remove the DefaultProperty("spinnerData") in Spinner.java so that <spinnerData> would be required in BXML (not entirely ideal for convenience).
b) Change the default value of spinnerData in the no-arg constructor to something that is not a Sequence so that BXMLSerializer will do the right thing (not sure if it is possible).
c) Change the behavior of BXMLSerializer not to do what it does in this case (this obviously has much wider implications and would have to be done VERY carefully).
                
> Tutorial example code for NumericSpinnerData doesn't work as shown
> ------------------------------------------------------------------
>
>                 Key: PIVOT-887
>                 URL: https://issues.apache.org/jira/browse/PIVOT-887
>             Project: Pivot
>          Issue Type: Bug
>          Components: tutorials
>    Affects Versions: 2.0.2, 2.0.3
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: spinner
>             Fix For: 2.0.3
>
>
> See mailing list archive for complete explanation:
> http://apache-pivot-users.399431.n3.nabble.com/Problem-using-wtk-content-NumericSpinnerData-td4022316.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira