You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2007/02/13 17:23:06 UTC

[jira] Created: (ADFFACES-380) CollectionModel: want analogue to ListDataModel that can handle removal of items cleanly

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
            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.


[jira] Updated: (ADFFACES-380) CollectionModel: want analogue to ListDataModel that can handle removal of items cleanly

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ 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.