[ 
https://issues.apache.org/jira/browse/ADFFACES-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf updated ADFFACES-380:
----------------------------------------

    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> CollectionModel: want analogue to ListDataModel that can handle removal of 
> items cleanly
> ----------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-380
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-380
>             Project: MyFaces ADF-Faces
>          Issue Type: New Feature
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Adam Winer
>
> It would be extremely handy to have an analogue to ListDataModel that can 
> deal with
> adding or removing items (or plain mutations to the list) without getting 
> confused,
> by implementing CollectionModel.getRowKey().
> I can think of two routes:
>  - A CollectionModel that exposes add/remove and keeps track of
>    row keys, so it doesn't get lost
>  - A CollectionModel that has a "keyProperty"  - the name of the object
>    property that is the row key - and uses this to retrieve the row key at all
>    times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to