You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Julien BUSSI (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 15:44:29 UTC

[jira] [Created] (FLEX-34) DropdownList items dupplication => virtualLayout

DropdownList items dupplication => virtualLayout
------------------------------------------------

                 Key: FLEX-34
                 URL: https://issues.apache.org/jira/browse/FLEX-34
             Project: Apache Flex
          Issue Type: Bug
         Environment: Flex 4.5.1
            Reporter: Julien BUSSI
            Assignee: Bertrand Delacretaz


I use skinned dropdown lists with a XMLListCollection as dataprovider
If I display 10 element from a list of 50 items when scrolling I will see all my items randomly mixed and repeated.
When I set useVirtualLayout to false the problem is resolved.
It may be a problem of cache management ?



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Created] (FLEX-34) DropdownList items dupplication => virtualLayout

Posted by Omar Gonzalez <om...@gmail.com>.
On Thu, Mar 29, 2012 at 6:44 AM, Julien BUSSI (Created) (JIRA) <
jira@apache.org> wrote:

> DropdownList items dupplication => virtualLayout
> ------------------------------------------------
>
>                 Key: FLEX-34
>                 URL: https://issues.apache.org/jira/browse/FLEX-34
>             Project: Apache Flex
>          Issue Type: Bug
>         Environment: Flex 4.5.1
>            Reporter: Julien BUSSI
>            Assignee: Bertrand Delacretaz
>
>
> I use skinned dropdown lists with a XMLListCollection as dataprovider
> If I display 10 element from a list of 50 items when scrolling I will see
> all my items randomly mixed and repeated.
> When I set useVirtualLayout to false the problem is resolved.
> It may be a problem of cache management ?
>
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
It's more than likely a problem with how you're handling the data in your
item renderers. Try adding a listener in your item renderers for
FlexEvent.DATA_CHANGE and update your renderers accordingly. It's hard to
tell what is going on without being able to see any code.

-omar

[jira] [Commented] (FLEX-34) DropdownList items dupplication => virtualLayout

Posted by "Pierangelo Mancusi (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLEX-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241882#comment-13241882 ] 

Pierangelo Mancusi commented on FLEX-34:
----------------------------------------

could you post sample code?
                
> DropdownList items dupplication => virtualLayout
> ------------------------------------------------
>
>                 Key: FLEX-34
>                 URL: https://issues.apache.org/jira/browse/FLEX-34
>             Project: Apache Flex
>          Issue Type: Bug
>         Environment: Flex 4.5.1
>            Reporter: Julien BUSSI
>            Assignee: Bertrand Delacretaz
>
> I use skinned dropdown lists with a XMLListCollection as dataprovider
> If I display 10 element from a list of 50 items when scrolling I will see all my items randomly mixed and repeated.
> When I set useVirtualLayout to false the problem is resolved.
> It may be a problem of cache management ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira