You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Koci (JIRA)" <de...@myfaces.apache.org> on 2008/01/27 18:03:34 UTC
[jira] Created: (TRINIDAD-923) SortableModel should deliver
DataModelEvent
SortableModel should deliver DataModelEvent
-------------------------------------------
Key: TRINIDAD-923
URL: https://issues.apache.org/jira/browse/TRINIDAD-923
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 1.2.6-core
Environment: JSF RI 1.2, Trinidad 1.2.x trunk
Reporter: Martin Koci
It is possible to register DataModelListsners to SortableModel but events are never delivered. The reason is: SortableModel uses delegation, not inheritance and methods for working with DataModelListeners are not delegated to wrapped model. SortableModel must have methods like:
public void addDataModelListener(DataModelListener listener) {
_model.addDataModelListener(listener);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TRINIDAD-923) SortableModel should deliver
DataModelEvent
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated TRINIDAD-923:
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.9-core
1.0.9-core
Status: Resolved (was: Patch Available)
> SortableModel should deliver DataModelEvent
> -------------------------------------------
>
> Key: TRINIDAD-923
> URL: https://issues.apache.org/jira/browse/TRINIDAD-923
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.6-core
> Environment: JSF RI 1.2, Trinidad 1.2.x trunk
> Reporter: Martin Koci
> Assignee: Matthias Weßendorf
> Fix For: 1.0.9-core, 1.2.9-core
>
> Attachments: SortableModel.java.patch
>
>
> It is possible to register DataModelListsners to SortableModel but events are never delivered. The reason is: SortableModel uses delegation, not inheritance and methods for working with DataModelListeners are not delegated to wrapped model. SortableModel must have methods like:
> public void addDataModelListener(DataModelListener listener) {
> _model.addDataModelListener(listener);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TRINIDAD-923) SortableModel should deliver
DataModelEvent
Posted by "Martin Koci (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Koci updated TRINIDAD-923:
---------------------------------
Status: Patch Available (was: Open)
> SortableModel should deliver DataModelEvent
> -------------------------------------------
>
> Key: TRINIDAD-923
> URL: https://issues.apache.org/jira/browse/TRINIDAD-923
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.6-core
> Environment: JSF RI 1.2, Trinidad 1.2.x trunk
> Reporter: Martin Koci
> Attachments: SortableModel.java.patch
>
>
> It is possible to register DataModelListsners to SortableModel but events are never delivered. The reason is: SortableModel uses delegation, not inheritance and methods for working with DataModelListeners are not delegated to wrapped model. SortableModel must have methods like:
> public void addDataModelListener(DataModelListener listener) {
> _model.addDataModelListener(listener);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.