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

Sandro Martini edited comment on PIVOT-694 at 8/4/11 1:34 AM:
--------------------------------------------------------------

Greg, your patch has fixed the original problem of this ticket.
But if you try my (just updated Pivot694.java, and related bxml file), you can 
see some other issues, look at some TODO inside the source, we can speak on 
them tomorrow (probably there is something wrong in my test, but it's better to 
be sure). Now I try the clearoperation as you suggested on many Pivot 
Components there.

Note that one time this issue will be resolved probably makes sense to move 
Pivoy694 (java and bxml) one level upper on issues (as package) and rename in 
something like ClearTest, could be useful, at least as a sample.

Bye


      was (Author: smartini):
    Ok, thank you for the help, I'll try and is all is good (as should be now 
:-) ) I'll re-close this issue.

  
> Improvement in ListButton clear() method
> ----------------------------------------
>
>                 Key: PIVOT-694
>                 URL: https://issues.apache.org/jira/browse/PIVOT-694
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0
>         Environment: Pivot 2.0
> Win 7
>            Reporter: Luiz Gustavo Stábile de Souza
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: listButton problem.png
>
>
> I'm having problems with ListButton.
> When I try to clean a ListButton the last text selected before remains 
> selected, even with no item in the ListData of the ListButton.
> I tried listButton.clear() and listButton.getListData().clear(), but with 
> none of this I can scape the problem.
> I debugged the application, and the listData of the ListButton is clear after 
> getListData().clear(), but the last selected text remains showing.
> See attached image.
> Perhaps listButton.setButtonData(null)  should be performed in 
> ListButton#clear().
> Cheers

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to