[ 
https://issues.apache.org/jira/browse/TRINIDAD-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571663#action_12571663
 ] 

Max Starets commented on TRINIDAD-782:
--------------------------------------

Gerhard,

I am glad to be here :)

An example of a model that does not wrap any data is a model that does not 
delegate its data access to a collection. Oracle's CollectionModel 
implementation for BC4J (Oracle's business component layer) is one of such 
models. For model like these, your proposed refreshModelState() with its 
implementation would have no meaning.

For your example with a component binding and a SortableModel being 
automatically created by table, perhaps one possible solution is putting 
refreshModelState() on a subclass of UIXTable returned by the component 
binding. What do you think?
To be honest, even creating SortableModel explicitly does not seem like a huge 
burden to me, so I would just close this issue.

Regards,
Max

> problem with filtering a sortable table
> ---------------------------------------
>
>                 Key: TRINIDAD-782
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-782
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.3-core
>            Reporter: Gerhard Petracek
>         Attachments: UIXCollection.patch
>
>
> SortableModel: missing re-indexing of a sorted model after model content has 
> been filtered/changed (alternative: reset indices)
> further details: http://www.mail-archive.com/[EMAIL PROTECTED]/msg43802.html

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