pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (PIVOT-734) Branch controls do not update while showEmptyBranchControls=false
Date Sun, 22 May 2011 22:28:47 GMT

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

Sandro Martini edited comment on PIVOT-734 at 5/22/11 10:28 PM:
----------------------------------------------------------------

Retrying the test application (and related bxml) I've just seen that this is no more working,
so I have to see what happened to the fix.

Ok, the fix has been reverted, and was this:
http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTreeViewSkin.java?p2=%2Fpivot%2Ftrunk%2Fwtk-terra%2Fsrc%2Forg%2Fapache%2Fpivot%2Fwtk%2Fskin%2Fterra%2FTerraTreeViewSkin.java&p1=%2Fpivot%2Ftrunk%2Fwtk-terra%2Fsrc%2Forg%2Fapache%2Fpivot%2Fwtk%2Fskin%2Fterra%2FTerraTreeViewSkin.java&r1=1101680&r2=1101679&view=diff&pathrev=1101680

Just committed the sample workaround suggested here in Pivot734.


      was (Author: smartini):
    Retrying the test application (and related bxml) I've just seen that this is no more working,
so I have to see what happened to the fix.
  
> Branch controls do not update while showEmptyBranchControls=false
> -----------------------------------------------------------------
>
>                 Key: PIVOT-734
>                 URL: https://issues.apache.org/jira/browse/PIVOT-734
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0
>            Reporter: Brent N Atkinson
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.0.1
>
>
> When showEmptyBranchControls is false, adding items to empty branch nodes does not cause
the UI to include branch controls for the now non-empty branch.
> Using the definition:
> {code}
> <TreeView bxml:id="aTree" styles="{showEmptyBranchControls:false}">
> ...
> </TreeView>
> {code}
> ...adding an item to an empty branch in the tree's data exposes the problem. The expected
behavior is that the node reflects that it is non-empty and the expander controls show up.
The actual behavior is that there is no change in the controls for the node.
> See the user-list thread for details: http://apache-pivot-users.399431.n3.nabble.com/Adding-values-to-TreeView-branch-while-using-showEmptyBranchControls-tp2842044p2842044.html

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

Mime
View raw message